package co.yixiang.yshop.module.product.controller.admin.productcoupon.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jdk.nashorn.internal.ir.annotations.Ignore;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 优惠券领券记录 resp vo")
@Data
@ToString(callSuper = true)
public class ProductCouponIssueRecordRespVO {
    @Schema(description = "id", example = "1")
    private Long id;

    @Schema(description = "优惠券id", example = "1")
    private Long couponId;

    @Schema(description = "优惠券名", example = "1")
    private String couponName;

    @Schema(description = "优惠券兑换码", example = "1")
    private String code = "-";
    @Ignore
    private Long uid;


    /**
     * 0 未使用  1：已使用
     */
    @Ignore
    private Integer isUsed;
    /**
     *  -1 ： 被删除    0 已兑换   1：未兑换
     */
    @Ignore
    private Integer status;

    @Schema(description = "使用状态", example = "1")
    private String stateName;

    @Schema(description = "券创建时间", example = "1")
    private LocalDateTime createTime;

    @Schema(description = "领取用户", example = "1")
    private String username;

    @Schema(description = "领取时间", example = "1")
    private LocalDateTime receiveTime;

    @Schema(description = "使用时间", example = "1")
    private LocalDateTime usageTime;


}
